@import "./base.styl"

body
  background #fff

.publish {
  width: 100%;

  .teaseForm {
    padding 15px
    overflow: hidden;

    form {
      overflow: hidden;
    }

    .submitBox {
      margin: 0;
      line-height 24px
      display flex

      .backtoPage {
        width 12px
        height 24px
        padding: 0;

        a {
          display: block;
          width: 100%;
          height: 100%;

          img {
            width 12px
            height 24px
            vertical-align: middle;
          }
        }
      }

      .title {
        padding: 0;
        text-align: center;
        font-size 18px
        color: #000;
        font-weight: bolder;
        flex: 1
      }

      .submitBtn {
        text-align: center;
        padding: 0;
        width 48px

        button {
          display: inline-block;
          color: #fff;
          width: 100%;
          text-align: center;
          font-weight: bolder;
          border: none;
          padding: 0;
          background: #138FF2;
          border-radius: 4px;
          height 24px
          font-size 12px
        }
      }
    }

    .suggestText {
      clear: both;
      margin-top 15px
      padding 5px
      font-size 16px
      color: #0d0d0d;

      textarea {
        width: 100%;
        resize: none;

        &:focus {
          outline none
        }
      }
    }
  }

  .sendContBtn {
    width: 100%;
    background: #fafafa;
    padding-right 15px
    height 44px
    position: fixed;
    bottom: 0;
    left: 0;

    .sendBtn {
      padding 0 15px
      margin: 0;
      display flex

      .sendPic {
        padding-top 14px
        padding-bottom 14px
        text-align: center;
        padding-right: 15px;
        padding-left: 0;

        a {
          display: block;
          width: 100%;
          height: 100%;
        }

        img {
          width 16px
          height 16px
        }
      }

      .modfiedText {
        padding-top 14px
        padding-bottom 14px
        text-align: center;
        padding-left: 0;

        a {
          display: block;
          width: 100%;
          height: 100%;
        }

        img {
          width 13px
          height 16px
        }
      }
    }

    .defaultBtnHeight {
      height 44px
    }
  }
}

[tagname="picture"] {
  div:nth-child(1) {
    width: 100% !important;
    max-width: 750px;
  }
}

.vueditor {
  min-height: 350px;
}

.upload_warp_img_div_del {
  position: absolute;
  top: 6px;
  width: 16px;
  right: 4px;
}

.upload_warp_img_div_top {
  position: absolute;
  top: 0;
  width: 100%;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  line-height: 30px;
  text-align: left;
  color: #fff;
  font-size: 12px;
  text-indent: 4px;
}

.upload_warp_img_div_text {
  white-space: nowrap;
  width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload_warp_img_div img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

.upload_warp_img_div {
  position: relative;
  height: 100px;
  width: 120px;
  margin: 0 10px 10px 0;
  float: left;
  line-height: 100px;
  display: table-cell;
  text-align: center;
  background-color: #eee;
  cursor: pointer;
}

.upload_warp_img {
  padding: 14px 0 0 14px;
  overflow: hidden;
}

.upload_warp_text {
  text-align: left;
  margin-bottom: 10px;
  padding-top: 10px;
  text-indent: 14px;
  border-top: 1px solid #ccc;
  font-size: 14px;
}

.upload_warp_right {
  float: left;
  width: 57%;
  margin-left: 2%;
  height: 100%;
  border: 1px dashed #999;
  border-radius: 4px;
  line-height: 130px;
  color: #999;
}

.upload_warp_left img {
  margin-top: 32px;
}

.upload_warp_left {
  float: left;
  width: 40%;
  height: 100%;
  border: 1px dashed #999;
  border-radius: 4px;
  cursor: pointer;
}

.upload_warp {
  margin: 14px;
  height: 130px;
}

.upload, .hello {
  width: 100%;
}

.upload {
  padding-bottom: 30px;
}

.toolbar {
  position fixed
  bottom 0
  left 0
  width 100%
  z-index 99
}

.w-e-text {
  height 200px !important
}